package com.ctrip.cap.dataprovider.custom.train;

import com.google.gson.GsonBuilder;

public class TrainQuery {
	
	private Head head;

	private String TrainNumber;

	private String SeatType;

	private String DepartureStationName;

	private String ArrivalStationName;

	private String DepartureDateTime;

	public Head getHead() {
		return head;
	}

	public void setHead(Head head) {
		this.head = head;
	}

	public String getTrainNumber() {
		return TrainNumber;
	}

	public void setTrainNumber(String trainNumber) {
		TrainNumber = trainNumber;
	}

	public String getSeatType() {
		return SeatType;
	}

	public void setSeatType(String seatType) {
		SeatType = seatType;
	}

	public String getDepartureStationName() {
		return DepartureStationName;
	}

	public void setDepartureStationName(String departureStationName) {
		DepartureStationName = departureStationName;
	}

	public String getArrivalStationName() {
		return ArrivalStationName;
	}

	public void setArrivalStationName(String arrivalStationName) {
		ArrivalStationName = arrivalStationName;
	}

	public String getDepartureDateTime() {
		return DepartureDateTime;
	}

	public void setDepartureDateTime(String departureDateTime) {
		DepartureDateTime = departureDateTime;
	}

	@Override
	public String toString() {
		return new GsonBuilder().create().toJson(this);
	}
}
